package com.so206.mapper;

import com.so206.po.SysFunction;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysFunctionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysFunction record);

    int insertSelective(SysFunction record);

    SysFunction selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysFunction record);

    int updateByPrimaryKey(SysFunction record);

    void deleteByParentId(@Param("id") Long id);

    List<SysFunction> selectByParent(@Param("id") Long id);

}